home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Mostly Crystal.jar / global / global.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-10-24  |  4.2 KB  |  185 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *
  22.  */
  23.  
  24. /* ===== global.css =====================================================
  25.   == Styles that apply everywhere.
  26.   ======================================================================= */
  27.  
  28. /* all localizable skin settings shall live here */
  29. @import url("chrome://global/locale/intl.css");
  30. @import url("chrome://global/skin/formatting.css");
  31. @import url("chrome://global/skin/console/console.css");
  32. @import url("chrome://communicator/skin/calendar/calendar.css");
  33. @import url("chrome://communicator/skin/inspector/inspector.css");  /* ::::: DOM Inspector ::::: */
  34.  
  35. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  36.  
  37. /* ::::: XBL bindings ::::: */
  38.  
  39. radio {
  40.   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio");
  41. }
  42.  
  43. menulist > menupopup,
  44. .menulist-menupopup {
  45.   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
  46. }
  47.  
  48. .menulist-compact {
  49.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-compact");
  50. }
  51.  
  52. /* ::::: root elements ::::: */
  53.  
  54. window,
  55. page,
  56. dialog,
  57. wizard {
  58. /*  -moz-appearance: window; */
  59.   background-color: -moz-Dialog;
  60.   color: -moz-DialogText;
  61.   font: message-box;
  62. }
  63.  
  64. /* deprecated */
  65. window.dialog {
  66.   padding: 8px 10px 10px 8px;
  67. }
  68.  
  69. [wait-cursor] {
  70.   cursor: wait !important;
  71. }
  72.  
  73. /* ::::: alert icons :::::*/
  74.  
  75. .message-icon,
  76. .alert-icon,
  77. .error-icon,
  78. .question-icon {
  79.   width: 32px;
  80.   height: 32px;
  81.   margin-left: 4px;
  82. }
  83.  
  84. .message-icon {
  85.   list-style-image: url("chrome://messenger/skin/icons/alert-message.png");
  86. }
  87.  
  88. .alert-icon {
  89.   list-style-image: url("chrome://messenger/skin/icons/alert-exclam.png");
  90. }
  91.  
  92. .error-icon {
  93.   list-style-image: url("chrome://messenger/skin/icons/alert-error.png");
  94. }
  95.  
  96. .question-icon {
  97.   list-style-image: url("chrome://messenger/skin/icons/alert-question.png");
  98. }
  99.  
  100. /* ::::: iframe ::::: */
  101.  
  102. iframe {
  103.   border: none;
  104.   width: 100px;
  105.   height: 100px;
  106.   min-width: 10px;
  107.   min-height: 10px;
  108. }
  109.  
  110. /* ::::: statusbar ::::: */
  111.  
  112. statusbar {
  113.   -moz-appearance: statusbar;
  114.   border-top: 1px solid ThreeDLightShadow;
  115.   border-left: 1px solid ThreeDShadow;
  116.   border-right: 1px solid ThreeDHighlight;
  117.   border-bottom: 1px solid ThreeDHighlight;
  118.   background-color: -moz-Dialog;
  119.   min-height: 22px;
  120. }
  121.  
  122. statusbarpanel {
  123.   -moz-appearance: statusbarpanel;
  124.   -moz-box-align: center;
  125.   -moz-box-pack: center;
  126.   border-left: 1px solid ThreeDHighlight;
  127.   border-top: 1px solid ThreeDHighlight;
  128.   border-right: 1px solid ThreeDShadow;
  129.   border-bottom: 1px solid ThreeDShadow;
  130.   padding: 0 4px;
  131. }
  132.  
  133. .statusbar-resizerpanel {
  134.   -moz-box-align: end;
  135.   -moz-box-pack: end;
  136.   -moz-appearance: resizerpanel;
  137.   padding: 0px;
  138.   border: none;
  139. }
  140.  
  141. .statusbarpanel-iconic {
  142.   padding: 0px;
  143. }
  144.  
  145. resizer[dir="bottomright"] {
  146.   -moz-appearance: resizer;
  147.   cursor: se-resize;
  148. }
  149.  
  150. /* XXXBlake yeah, shoot me -- these don't belong here.  I'll move them later. */
  151.  
  152. sidebarheader {
  153.   height: 25px;
  154.   background-color: -moz-Dialog;
  155.   -moz-appearance: toolbox;
  156.   border-bottom: 1px solid ThreeDShadow;
  157.   border-top: 1px solid ThreeDHighlight;
  158. }
  159.  
  160. sidebarheader > label {
  161.   padding-left: 4px;
  162. }
  163.  
  164. /* ::::: miscellaneous ::::: */
  165.  
  166. .toolbar-focustarget {
  167.   -moz-user-focus: ignore !important;
  168. }
  169.  
  170. /* ::::: show an icon on tabs inside options screens  ::::: */
  171. .tab-icon {
  172.   margin-top: 1px;
  173.   margin-bottom: 1px;
  174.   margin-left: 0px;
  175.   margin-right: 2px;
  176.   width: 16px;
  177.   height: 16px;
  178.   list-style-image: url("chrome://messenger/skin/icons/page.png");
  179.   opacity: 0.6 !important;
  180. }
  181.  
  182. tab[selected="true"] .tab-icon {
  183.   opacity: 1.0 !important;
  184. }
  185.